package org.dromara.mall.domain.vo;

import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.mall.domain.TerMallRegional;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 区域信息视图对象 ter_mall_regional
 *
 * @author xch
 * @date 2025-06-26
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TerMallRegional.class)
public class TerMallRegionalVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 区域id
     */
    @ExcelProperty(value = "区域id")
    private Long id;

    /**
     * 分组名
     */
    @ExcelProperty(value = "分组名")
    private String groupName;

    /**
     * 纬度
     */
    @ExcelProperty(value = "纬度")
    private String latitude;

    /**
     * 经度
     */
    @ExcelProperty(value = "经度")
    private String longitude;

    /**
     * 完整地址
     */
    @ExcelProperty(value = "完整地址")
    private String address;

    /**
     * 所在城市
     */
    @ExcelProperty(value = "所在城市")
    private String city;

    /**
     * 图片路径
     */
    @ExcelProperty(value = "图片路径")
    private String imgUrl;
    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "imgUrl")
    private String imgUrlUrl;
    /**
     * 电话
     */
    @ExcelProperty(value = "电话")
    private String phone;

    /**
     * 排序号
     */
    @ExcelProperty(value = "排序号")
    private Long orderNum;

    /**
     * 所处区域id
     */
    @ExcelProperty(value = "所处区域id")
    private Long districtId;

    /**
     * 区域名称
     */
    @ExcelProperty(value = "区域名称")
    private String districtName;

    /**
     * 所处城市id
     */
    @ExcelProperty(value = "所处城市id")
    private Long cityId;

    /**
     * 城市名称
     */
    @ExcelProperty(value = "城市名称")
    private String cityName;

    /**
     * 所处省份id
     */
    @ExcelProperty(value = "所处省份id")
    private Long provinceId;

    /**
     * 省份名称
     */
    @ExcelProperty(value = "省份名称")
    private String provinceName;


}
